package com.example.t410.mapper;

import com.example.t410.entity.Content;
import com.example.t410.entity.Knowledge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ContentMapper {

    @Select("select text from content where knowledgeId=#{id};")
    List<String> selectByKnowledgeId(Long id);
}
